package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message implements Serializable {
    private Integer id;
    private String member_name;
    private String message;
    private Date messageDate;

    public Message(String member_name, String message, Date messageDate) {
        this.member_name = member_name;
        this.message = message;
        this.messageDate = messageDate;
    }
}
